home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / TeX-inputs / LaTeX / amslatex / amsproc.cls < prev    next >
Text File  |  1997-01-18  |  43KB  |  1,203 lines

  1. %% 
  2. %% This is file `amsproc.cls', generated 
  3. %% on <1996/11/5> with the docstrip utility (2.2i).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% amsclass.dtx  (with options: `amsproc')
  8. %%% ====================================================================
  9. %%%  @LaTeX-file{
  10. %%%     filename        = "amsclass.dtx",
  11. %%%     version         = "1.2q",
  12. %%%     date            = "1996/11/05",
  13. %%%     time            = "11:55:19 EST",
  14. %%%     checksum        = "63668 3423 13546 125878",
  15. %%%     author          = "American Mathematical Society",
  16. %%%     copyright       = "Copyright (C) 1996 American Mathematical Society,
  17. %%%                        all rights reserved.  Copying of this file is
  18. %%%                        authorized only if either:
  19. %%%                        (1) you make absolutely no changes to your copy,
  20. %%%                        including name; OR
  21. %%%                        (2) if you do make changes, you first rename it
  22. %%%                        to some other name.",
  23. %%%     address         = "American Mathematical Society,
  24. %%%                        Technical Support,
  25. %%%                        Electronic Products and Services,
  26. %%%                        P. O. Box 6248,
  27. %%%                        Providence, RI 02940,
  28. %%%                        USA",
  29. %%%     telephone       = "401-455-4080 or (in the USA and Canada)
  30. %%%                        800-321-4AMS (321-4267)",
  31. %%%     FAX             = "401-331-3842",
  32. %%%     email           = "tech-support@ams.org (Internet)",
  33. %%%     codetable       = "ISO/ASCII",
  34. %%%     keywords        = "latex, amslatex, ams-latex",
  35. %%%     supported       = "yes",
  36. %%%     abstract        = "This is part of the AMS-\LaTeX{} distribution.
  37. %%%                        It produces output conforming to the style
  38. %%%                        conventions of American Mathematical Society
  39. %%%                        publications.  The file \fn{amsclass.dtx} is
  40. %%%                        converted by the installation procedure
  41. %%%                        into three document classes:
  42. %%%                        \cls{amsart}, \cls{amsproc}, and \cls{amsbook},
  43. %%%                        which are intended, respectively,
  44. %%%                        for articles and books containing mathematical
  45. %%%                        research; both class files will also carry this
  46. %%%                        heading, and the particular class should be
  47. %%%                        determined from the external file name.",
  48. %%%     docstring       = "The checksum field above contains a CRC-16
  49. %%%                        checksum as the first value, followed by the
  50. %%%                        equivalent of the standard UNIX wc (word
  51. %%%                        count) utility output of lines, words, and
  52. %%%                        characters.  This is produced by Robert
  53. %%%                        Solovay's checksum utility.",
  54. %%%  }
  55. %%% ====================================================================
  56. \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
  57. [1994/12/01]% LaTeX date must December 1994 or later
  58. \ProvidesClass{amsproc}[1996/11/05 v1.2q]
  59. \def\@tempa#1#2\@nil{\edef\@classname{#1}}
  60. \expandafter\@tempa\@currnamestack{}{}{}\@nil
  61. \ifx\@classname\@empty \edef\@classname{\@currname}\fi
  62. \DeclareOption{a4paper}{\paperheight 297mm\paperwidth 210mm
  63.   \textheight 54.5pc }
  64. \DeclareOption{letterpaper}{\paperheight 11in\paperwidth 8.5in }
  65. \DeclareOption{landscape}{\@tempdima\paperheight
  66.   \paperheight\paperwidth \paperwidth\@tempdima}
  67. \DeclareOption{portrait}{}
  68. \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
  69. \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
  70. \DeclareOption{draft}{\overfullrule5\p@ }
  71. \DeclareOption{final}{\overfullrule\z@ }
  72. \newif\if@titlepage
  73. \DeclareOption{titlepage}{\@titlepagetrue}
  74. \DeclareOption{notitlepage}{\@titlepagefalse}
  75. \newif\if@openright
  76. \DeclareOption{openright}{\@openrighttrue}
  77. \DeclareOption{openany}{\@openrightfalse}
  78. \DeclareOption{onecolumn}{\@twocolumnfalse}
  79. \DeclareOption{twocolumn}{\@twocolumntrue}
  80. \DeclareOption{nomath}{}
  81. \def\mathfrak{needed}
  82. \DeclareOption{noamsfonts}{\let\mathfrak\relax}
  83. \DeclareOption{psamsfonts}{%
  84.   \PassOptionsToPackage{psamsfonts}{amsfonts}%
  85.   \PassOptionsToPackage{cmex10}{amsmath}}
  86. \newif\iftagsleft@
  87. \DeclareOption{leqno}{%
  88.   \tagsleft@true \PassOptionsToPackage{leqno}{amsmath}}
  89. \DeclareOption{reqno}{%
  90.   \tagsleft@false \PassOptionsToPackage{reqno}{amsmath}}
  91. \newif\ifctagsplit@
  92. \DeclareOption{centertags}{%
  93.   \ctagsplit@true \PassOptionsToPackage{centertags}{amsmath}}
  94. \DeclareOption{tbtags}{%
  95.   \ctagsplit@false \PassOptionsToPackage{tbtags}{amsmath}}
  96. \DeclareOption{fleqn}{%
  97.   \def\[{\relax
  98.     \ifmmode\@badmath
  99.     \else
  100.       \begin{trivlist}%
  101.       \@beginparpenalty\predisplaypenalty
  102.       \@endparpenalty\postdisplaypenalty
  103.       \item[]\leavevmode
  104.       \hbox to\linewidth\bgroup$\displaystyle
  105.       \hskip\mathindent\bgroup
  106.     \fi}%
  107.   \def\]{\relax
  108.     \ifmmode
  109.       \egroup \m@th$\hfil \egroup
  110.       \end{trivlist}%
  111.     \else \@badmath
  112.     \fi}%
  113.   \renewenvironment{equation}{%
  114.     \@beginparpenalty\predisplaypenalty
  115.     \@endparpenalty\postdisplaypenalty
  116.     \refstepcounter{equation}%
  117.     \@topsep\abovedisplayskip \trivlist
  118.     \item[]\leavevmode
  119.     \hbox to\linewidth\bgroup\hskip\mathindent$\displaystyle
  120.   }{%
  121.     \m@th$\hfil \displaywidth\linewidth \hbox{\@eqnnum}\egroup
  122.     \endtrivlist
  123.   }%
  124.   \renewenvironment{eqnarray}{%
  125.     \stepcounter{equation}\let\@currentlabel\theequation
  126.     \global\@eqnswtrue \global\@eqcnt\z@ \tabskip\mathindent
  127.     \let\\=\@eqncr \abovedisplayskip\topsep
  128.     \ifvmode \advance\abovedisplayskip\partopsep \fi
  129.     \belowdisplayskip\abovedisplayskip
  130.     \belowdisplayshortskip\abovedisplayskip
  131.     \abovedisplayshortskip\abovedisplayskip
  132.     $$\everycr{}\halign to\linewidth\bgroup
  133.       \hskip\@centering
  134.       $\displaystyle\tabskip\z@skip####\m@th$&%
  135.       \@eqnsel \global\@eqcnt\@ne
  136.       \hfil${}####{}\m@th$\hfil&%
  137.       \global\@eqcnt\tw@
  138.       $\displaystyle ####\m@th$\hfil\tabskip\@centering&%
  139.       \global\@eqcnt\thr@@
  140.       \hbox to \z@\bgroup\hss####\egroup\tabskip\z@skip\cr
  141.     }{%
  142.       \@@eqncr \egroup \global\advance\c@equation\m@ne$$%
  143.       \global\@ignoretrue
  144.     }%
  145.   \newdimen\mathindent \mathindent\leftmargini
  146. }
  147. \newcommand{\@mainsize}{10}
  148. \newcommand{\@ptsize}{0}
  149. \newcommand{\larger}[1][1]{%
  150.   \count@\@currsizeindex \advance\count@#1\relax
  151.   \ifnum\count@<\z@ \count@\z@ \else\ifnum\count@>12 \count@12 \fi\fi
  152.   \ifcase\count@
  153.     \Tiny\or\Tiny\or\tiny\or\SMALL\or\Small\or\small
  154.     \or\normalsize
  155.     \or\large\or\Large\or\LARGE\or\huge\or\Huge\else\Huge
  156.   \fi
  157. }
  158. \newcommand{\smaller}[1][1]{\larger[-#1]}
  159. \def\@adjustvertspacing{%
  160.   \bigskipamount.7\baselineskip plus.7\baselineskip
  161.   \medskipamount\bigskipamount \divide\medskipamount\tw@
  162.   \smallskipamount\medskipamount \divide\smallskipamount\tw@
  163.   \abovedisplayskip\medskipamount
  164.   \belowdisplayskip \abovedisplayskip
  165.   \abovedisplayshortskip\abovedisplayskip
  166.   \advance\abovedisplayshortskip-1\abovedisplayskip
  167.   \belowdisplayshortskip\abovedisplayshortskip
  168.   \advance\belowdisplayshortskip 1\smallskipamount
  169.   \jot\baselineskip \divide\jot 4 \relax
  170. }
  171. \renewcommand\normalsize{\@xsetfontsize\normalsize 6%
  172.   \@adjustvertspacing \let\@listi\@listI}
  173. \newcommand\Tiny{\@xsetfontsize\Tiny 1}
  174. \newcommand\tiny{\@xsetfontsize\tiny 2}
  175. \newcommand\SMALL{\@xsetfontsize\SMALL 3}
  176. \newcommand\Small{\@xsetfontsize\Small 4%
  177.   \@adjustvertspacing
  178.   \def\@listi{\topsep\smallskipamount \parsep\z@skip \itemsep\z@skip}}
  179. \newcommand\small{\@xsetfontsize\small 5\@adjustvertspacing}
  180. \def\footnotesize{\Small}
  181. \def\scriptsize{\SMALL}
  182. \newcommand\large{\@xsetfontsize\large 7\@adjustvertspacing}
  183. \newcommand\Large{\@xsetfontsize\Large 8\@adjustvertspacing}
  184. \newcommand\LARGE{\@xsetfontsize\LARGE 9}
  185. \newcommand\huge{\@xsetfontsize\huge{10}}
  186. \newcommand\Huge{\@xsetfontsize\Huge{11}}
  187. \def\@xsetfontsize#1#2{%
  188.   \chardef\@currsizeindex#2\relax
  189.   \edef\@tempa{\@nx\@setfontsize\@nx#1%
  190.     \@xp\ifcase\@xp\@currsizeindex\@typesizes
  191.       \else{99}{99}\fi}%
  192.   \@tempa
  193. }
  194. \chardef\@currsizeindex=6
  195. \widowpenalty=10000
  196. \clubpenalty=10000
  197. \brokenpenalty=10000
  198. \newdimen\linespacing
  199. \lineskip=1pt \lineskiplimit=1pt
  200. \normallineskip=1pt \normallineskiplimit=1pt
  201. \let\baselinestretch=\@empty
  202. \headheight=5pt \headsep=14pt
  203. \footskip=12pt
  204. \textheight=50.5pc \topskip=10pt
  205. \textwidth=30pc
  206. \columnsep=10pt \columnseprule=0pt
  207. \marginparwidth=90pt
  208. \marginparsep=11pt
  209. \marginparpush=5pt
  210. \AtBeginDocument{\settoheight{\footnotesep}{\footnotesize M$^1$}}
  211. \skip\footins=7pt plus11pt
  212. \skip\@mpfootins=\skip\footins
  213. \fboxsep=3pt \fboxrule=.4pt
  214. \arrayrulewidth=.4pt    \doublerulesep=2pt
  215. \labelsep=5pt           \arraycolsep=\labelsep
  216. \tabcolsep=\labelsep    \tabbingsep=\labelsep
  217. \floatsep=15pt plus 12pt    \dblfloatsep=15pt plus 12pt
  218. \textfloatsep=\floatsep  \dbltextfloatsep=15pt plus 12pt
  219. \intextsep=\floatsep
  220. \@fptop=0pt plus1fil     \@dblfptop=0pt plus1fil
  221. \@fpbot=0pt plus1fil     \@dblfpbot=0pt plus1fil
  222. \@fpsep=8pt plus2fil     \@dblfpsep=8pt plus2fil\relax
  223. \parskip=0pt \relax
  224. \newdimen\normalparindent
  225. \normalparindent=18pt
  226. \parindent=\normalparindent
  227. \partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
  228. \@lowpenalty=51         \@medpenalty=151        \@highpenalty=301
  229. \@beginparpenalty=-\@lowpenalty
  230. \@endparpenalty=-\@lowpenalty
  231. \@itempenalty=-\@lowpenalty
  232. \DeclareOption{10pt}{\def\@mainsize{10}\def\@ptsize{0}%
  233.   \def\@typesizes{%
  234.     \or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}%
  235.     \or{10}{12}% normalsize
  236.     \or{\@xipt}{13}\or{\@xiipt}{14}\or{\@xivpt}{17}%
  237.     \or{\@xviipt}{20}\or{\@xxpt}{24}}%
  238.   \normalsize \linespacing=\baselineskip
  239. }
  240. \DeclareOption{11pt}{\def\@mainsize{11}\def\@ptsize{1}%
  241.   \def\@typesizes{%
  242.     \or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}%
  243.     \or{\@xipt}{13}% normalsize
  244.     \or{\@xiipt}{14}\or{\@xivpt}{17}\or{\@xviipt}{20}%
  245.     \or{\@xxpt}{24}\or{\@xxvpt}{30}}%
  246.   \normalsize \linespacing=\baselineskip
  247. }
  248. \DeclareOption{12pt}{\def\@mainsize{12}\def\@ptsize{2}%
  249.   \def\@typesizes{%
  250.     \or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  251.     \or{\@xiipt}{14}% normalsize
  252.     \or{\@xivpt}{17}\or{\@xviipt}{20}\or{\@xxpt}{24}%
  253.     \or{\@xxvpt}{30}\or{\@xxvpt}{30}}%
  254.   \normalsize \linespacing=\baselineskip
  255. }
  256. \DeclareOption{8pt}{\def\@mainsize{8}\def\@ptsize{8}%
  257.   \def\@typesizes{%
  258.     \or{5}{6}\or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}%
  259.     \or{8}{10}% normalsize
  260.     \or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  261.     \or{\@xiipt}{14}\or{\@xivpt}{17}}%
  262.   \normalsize \linespacing=\baselineskip
  263. }
  264. \DeclareOption{9pt}{\def\@mainsize{9}\def\@ptsize{9}%
  265.   \def\@typesizes{%
  266.     \or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}%
  267.     \or{9}{11}% normalsize
  268.     \or{10}{12}\or{\@xipt}{13}\or{\@xiipt}{14}%
  269.     \or{\@xivpt}{17}\or{\@xviipt}{20}}%
  270.   \normalsize \linespacing=\baselineskip
  271. }
  272. \def\ps@empty{\let\@mkboth\@gobbletwo
  273.   \let\@oddhead\@empty \let\@evenhead\@empty
  274.   \let\@oddfoot\@empty \let\@evenfoot\@empty
  275.   \global\topskip\normaltopskip}
  276. \def\ps@plain{\ps@empty
  277.   \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil}%
  278.   \let\@evenfoot\@oddfoot}
  279. \def\ps@headings{\ps@empty
  280.   \def\@evenhead{\normalfont\scriptsize
  281.       \rlap{\thepage}\hfil \leftmark{}{}\hfil}%
  282.   \def\@oddhead{\normalfont\scriptsize \hfil
  283.       \rightmark{}{}\hfil \llap{\thepage}}%
  284.   \let\@mkboth\markboth
  285. }
  286. \let\sectionname\@empty
  287. \let\subsectionname\@empty
  288. \let\subsubsectionname\@empty
  289. \let\paragraphname\@empty
  290. \let\subparagraphname\@empty
  291. \def\leftmark{\expandafter\@firstoftwo\topmark{}{}}
  292. \def\rightmark{\expandafter\@secondoftwo\botmark{}{}}
  293. \def\ps@firstpage{\ps@plain
  294.   \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil
  295.      \global\topskip\normaltopskip}%
  296.   \let\@evenfoot\@oddfoot
  297.   \def\@oddhead{\@serieslogo\hss}%
  298.   \let\@evenhead\@oddhead % in case an article starts on a left-hand page
  299. }
  300. \long\def\@nilgobble#1\@nil{}
  301. \def\markboth#1#2{%
  302.   \begingroup
  303.     \@temptokena{{#1}{#2}}\xdef\@themark{\the\@temptokena}%
  304.     \mark{\the\@temptokena}%
  305.   \endgroup
  306.   \if@nobreak\ifvmode\nobreak\fi\fi}
  307. \def\ps@myheadings{\ps@headings \let\@mkboth\@gobbletwo}
  308. \newskip\normaltopskip
  309. \normaltopskip=10pt \relax
  310. \let\sectionmark\@gobble
  311. \let\subsectionmark\@gobble
  312. \let\subsubsectionmark\@gobble
  313. \let\paragraphmark\@gobble
  314.  
  315. \DeclareOption{makeidx}{}
  316. \input{amsgen.sty}
  317. \ExecuteOptions{leqno,centertags,letterpaper,portrait,%
  318.   10pt,twoside,onecolumn,final}
  319. \ProcessOptions\relax
  320. \if@compatibility
  321.   \def\@tempa#1{\let\mathfrak\relax
  322.     \RequirePackage{amstex}\relax}\expandafter\@tempa
  323. \else
  324.   \expandafter\@iden
  325. \fi
  326. {% if native mode
  327. \@ifclasswith{\@classname}{nomath}{%
  328.   \def\numberwithin#1#2{\@ifundefined{c@#1}{\@nocounterr{#1}}{%
  329.     \@ifundefined{c@#2}{\@nocounterr{#2}}{%
  330.     \@addtoreset{#1}{#2}%
  331.     \toks@\@xp\@xp\@xp{\csname the#1\endcsname}%
  332.     \@xp\xdef\csname the#1\endcsname
  333.       {\@xp\@nx\csname the#2\endcsname
  334.        .\the\toks@}}}}%
  335. }{%
  336.   \RequirePackage{amsmath}\relax
  337. }
  338. \@ifclasswith{\@classname}{noamsfonts}{%
  339. }{%
  340.   \let\mathfrak\relax
  341.   \IfFileExists{Umsa.fd}{%
  342.     \RequirePackage{amsfonts}\relax
  343.   }{%
  344.     \ClassError{\@classname
  345.     }{%
  346.       Font description files Umsa.fd et al. not found; amsfonts.sty
  347.       not loaded.
  348.     }{%
  349.       A font description (.fd) file is needed for every font being used;
  350.       these files may be in the inputs area along with other style and
  351.       class files, or in a dedicated subdirectory if your system uses
  352.       a TDS structure.
  353.     }%
  354.   }%
  355. }
  356. }% end native mode branch
  357. \newcommand{\uppercasenonmath}[1]{\toks@\@emptytoks
  358.   \@xp\@skipmath\@xp\@empty#1$$%
  359.   \edef#1{\@nx\@upprep\the\toks@}%
  360. }
  361. \newcommand{\@upprep}{%
  362.   \spaceskip1.3\fontdimen2\font plus1.3\fontdimen3\font
  363.   \upchars@}
  364. \newcommand{\upchars@}{%
  365.   \def\ss{SS}\def\i{I}\def\j{J}\def\ae{\AE}\def\oe{\OE}%
  366.   \def\o{\O}\def\aa{\AA}\def\l{\L}\def\Mc{M{\scshape c}}}
  367. \newcommand{\@skipmath}{}
  368. \long\def\@skipmath#1$#2${%
  369.   \@xskipmath#1\(\)%
  370.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@$#2$}\@skipmath\@empty}}%
  371. \newcommand{\@xskipmath}{}
  372. \long\def\@xskipmath#1\(#2\){%
  373.   \uppercase{\toks@\@xp\@xp\@xp{\@xp\the\@xp\toks@#1}}%
  374.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@\(#2\)}\@xskipmath\@empty}}%
  375. \newcommand{\today}{%
  376.   \relax\ifcase\month\or
  377.   January\or February\or March\or April\or May\or June\or
  378.   July\or August\or September\or October\or November\or December\fi
  379.   \space\number\day, \number\year}
  380. \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
  381. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  382. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  383. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  384. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  385. \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  386. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  387. \renewcommand*{\title}[2][]{\gdef\shorttitle{#1}\gdef\@title{#2}}
  388. \edef\title{\@nx\@dblarg
  389.   \@xp\@nx\csname\string\title\endcsname}
  390. \renewcommand{\author}[2][]{%
  391.   \ifx\@empty\authors
  392.     \gdef\shortauthors{#1}\gdef\authors{#2}%
  393.   \else
  394.     \g@addto@macro\shortauthors{\and#1}%
  395.     \g@addto@macro\authors{\and#2}%
  396.     \g@addto@macro\addresses{\author{}}%
  397.   \fi
  398. }
  399. \edef\author{\@nx\@dblarg
  400.   \@xp\@nx\csname\string\author\endcsname}
  401. \let\shortauthors\@empty   \let\authors\@empty
  402. \let\addresses\@empty      \let\thankses\@empty
  403. \newcommand{\address}[2][]{\g@addto@macro\addresses{\address{#1}{#2}}}
  404. \newcommand{\curraddr}[2][]{\g@addto@macro\addresses{\curraddr{#1}{#2}}}
  405. \newcommand{\email}[2][]{\g@addto@macro\addresses{\email{#1}{#2}}}
  406. \newcommand{\urladdr}[2][]{\g@addto@macro\addresses{\urladdr{#1}{#2}}}
  407. \renewcommand{\thanks}[1]{\g@addto@macro\thankses{\thanks{#1}}}
  408. \def\enddoc@text{\ifx\@empty\@translators \else\@settranslators\fi
  409.   \ifx\@empty\addresses \else\@setaddresses\fi}
  410. \AtEndDocument{\enddoc@text}
  411. \def\@setaddresses{\par
  412.   \nobreak \begingroup
  413. \footnotesize
  414.   \def\author##1{\nobreak\addvspace\bigskipamount}%
  415.   \def\\{\unskip, \ignorespaces}%
  416.   \interlinepenalty\@M
  417.   \def\address##1##2{\begingroup
  418.     \par\addvspace\bigskipamount\indent
  419.     \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
  420.     {\scshape\ignorespaces##2}\par\endgroup}%
  421.   \def\curraddr##1##2{\begingroup
  422.     \@ifnotempty{##2}{\nobreak\indent{\itshape Current address}%
  423.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  424.       ##2\par\endgroup}}%
  425.   \def\email##1##2{\begingroup
  426.     \@ifnotempty{##2}{\nobreak\indent{\itshape E-mail address}%
  427.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  428.       \ttfamily##2\par\endgroup}}%
  429.   \def\urladdr##1##2{\begingroup
  430.     \@ifnotempty{##2}{\nobreak\indent{\itshape URL}%
  431.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  432.       \ttfamily##2\par\endgroup}}%
  433.   \addresses
  434.   \endgroup
  435. }
  436. \let\@date\@empty
  437. \def\dedicatory#1{\def\@dedicatory{#1}}
  438. \let\@dedicatory=\@empty
  439. \def\keywords#1{\def\@keywords{#1}}
  440. \let\@keywords=\@empty
  441. \def\subjclass#1{\def\@subjclass{#1}}
  442. \let\@subjclass=\@empty
  443. \def\translator#1{%
  444.   \ifx\@empty\@translators \def\@translators{#1}%
  445.   \else\g@addto@macro\@translators{\and#1}\fi}
  446. \let\@translators=\@empty
  447. \def\@settranslators{\par\begingroup
  448.   \addvspace{6\p@\@plus9\p@}%
  449.   \hbox to\columnwidth{\hss\normalfont\normalsize
  450.     Translated by %
  451.     \andify\@translators \uppercasenonmath\@translators
  452.     \@translators}
  453.   \endgroup
  454. }
  455. \newcommand{\xandlist}[4]{\@andlista{{#1}{#2}{#3}}#4\and\and}
  456. \def\@andlista#1#2\and#3\and{\@andlistc{#2}\@ifnotempty{#3}{%
  457.   \@andlistb#1{#3}}}
  458. \def\@andlistb#1#2#3#4#5\and{%
  459.   \@ifempty{#5}{%
  460.     \@andlistc{#2#4}%
  461.   }{%
  462.     \@andlistc{#1#4}\@andlistb{#1}{#3}{#3}{#5}%
  463.   }}
  464. \let\@andlistc\@iden
  465. \newcommand{\nxandlist}[4]{%
  466.   \def\@andlistc##1{\toks@\@xp{\the\toks@##1}}%
  467.   \toks@{\toks@\@emptytoks \@andlista{{#1}{#2}{#3}}}%
  468.   \the\@xp\toks@#4\and\and
  469.   \edef#4{\the\toks@}%
  470.   \let\@andlistc\@iden}
  471. \newcommand{\andify}{%
  472.   \nxandlist{\unskip, }{\unskip{} and~}{\unskip, and~}}
  473. \def\and{\unskip{ }and \ignorespaces}
  474. \def\maketitle{\par
  475.   \@topnum\z@ % this prevents figures from falling at the top of page 1
  476.   \@setcopyright
  477.   \uppercasenonmath\shorttitle
  478.   \ifx\@empty\shortauthors \let\shortauthors\shorttitle
  479.   \else \andify\shortauthors \uppercasenonmath\shortauthors \fi
  480.   \@maketitle@hook
  481.   \begingroup
  482.   \@maketitle
  483.   \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}%
  484.   \edef\@tempa{\@nx\markboth{\the\toks@}{\the\@temptokena}}\@tempa
  485.   \endgroup
  486.   \thispagestyle{firstpage}% this sets first page specifications
  487.   \c@footnote\z@
  488.   \def\do##1{\let##1\relax}%
  489.   \do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title
  490.   \do\author \do\@xauthor \do\address \do\@xaddress
  491.   \do\email \do\@xemail \do\curraddr \do\@xcurraddr
  492.   \do\dedicatory \do\@dedicatory \do\thanks \do\thankses
  493.   \do\keywords \do\@keywords \do\subjclass \do\@subjclass
  494. }
  495. \def\@maketitle@hook{\global\let\@maketitle@hook\@empty}
  496. \def\@maketitle{%
  497.   \normalfont\normalsize
  498.   \let\@makefnmark\relax  \let\@thefnmark\relax
  499.   \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
  500.   \ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
  501.   \ifx\@empty\thankses\else \@footnotetext{%
  502.     \def\par{\let\par\@par}\@setthanks}\fi
  503.   \@mkboth{\@nx\shortauthors}{\@nx\shorttitle}%
  504.   \global\topskip8pc\relax % 10pc to base of first title line
  505.   \@settitle
  506.   \ifx\@empty\authors \else \@setauthors \fi
  507.   \ifx\@empty\@dedicatory
  508.   \else
  509.     \baselineskip26\p@
  510.     \vtop{\centering{\footnotesize\itshape\@dedicatory\@@par}%
  511.       \global\dimen@i\prevdepth}\prevdepth\dimen@i
  512.   \fi
  513.   \@setabstract
  514.   \normalsize
  515.   \if@titlepage
  516.     \newpage
  517.   \else
  518.     \dimen@34\p@ \advance\dimen@-\baselineskip
  519.     \vskip\dimen@\relax
  520.   \fi
  521. } % end \@maketitle
  522. \AtBeginDocument{%
  523.   \@ifundefined{publname}{%
  524.     \let\publname\@empty
  525.     \let\@serieslogo\@empty
  526.   }{%
  527.     \def\@serieslogo{%
  528.       \vbox to\headheight{%
  529.         \parindent\z@ \fontsize{6}{7\p@}\selectfont
  530.         \noindent\publname\newline
  531.         \volinfo\endgraf
  532.         \vss
  533.       }%
  534.     }%
  535.   }%
  536. }
  537. \@ifundefined{volinfo}{\let\volinfo\@empty}{}
  538. \def\issueinfo#1#2#3#4{\def\currentvolume{#1}\def\currentissue{#2}%
  539.   \def\currentmonth{#3}\def\currentyear{#4}}
  540. \issueinfo{00}% volume number
  541.   {0}%        % issue number
  542.   {Xxxx}%     % month
  543.   {XXXX}%     % year
  544. \def\copyrightinfo#1#2{\def\copyrightyear{#1}\def\copyrightholder{#2}}
  545. \copyrightinfo{0000}{(copyright holder)}
  546. \def\pagespan#1#2{\setcounter{page}{#1}%
  547.   \ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}\fi
  548.   \def\start@page{#1}\def\end@page{#2}}
  549. \pagespan{000}{000}
  550. \newinsert\copyins
  551. \skip\copyins=1.5pc
  552. \count\copyins=1000 % magnification factor, 1000 = 100%
  553. \dimen\copyins=.5\textheight % maximum allowed per page
  554. \def\@setcopyright{%
  555.   \ifx\@empty\@serieslogo
  556.   \else\ifx\@empty\copyrightyear
  557.   \else
  558.     \insert\copyins{\hsize\textwidth
  559.       \parfillskip\z@ \leftskip\z@\@plus.9\textwidth
  560.       \fontsize{6}{7\p@}\normalfont\upshape
  561.       \everypar{}%
  562.       \vskip-\skip\copyins \nointerlineskip
  563.       \noindent\vrule\@width\z@\@height\skip\copyins
  564.       \copyright\copyrightyear\ \copyrightholder
  565.       \par
  566.       \kern\z@}%
  567.   \fi\fi
  568. }
  569. \def\@combinefloats{%
  570.   \ifx \@toplist\@empty \else \@cflt \fi
  571.   \ifx \@botlist\@empty \else \@cflb \fi
  572.   \ifvoid\copyins \else \@cflci \fi
  573. }
  574. \def\@cflci{%
  575.   \if\if@twocolumn \if@firstcolumn F\else T\fi\else T\fi T%
  576.       \setbox\@outputbox\vbox{%
  577.         \unvbox\@outputbox
  578.         \vskip\skip\copyins
  579.         \hbox to\columnwidth{%
  580.           \hss\vbox to\z@{\vss\unvbox\copyins}}}%
  581.   \fi
  582. }
  583. \newcommand{\abstractname}{Abstract}
  584. \newcommand{\keywordsname}{Key words and phrases}
  585. \newcommand{\subjclassname}{\textup{1991} Mathematics Subject
  586.      Classification}
  587. \def\@tempb{amsproc}
  588. \ifx\@classname\@tempb
  589.   \newcommand{\datename}{\textit{Date}:}
  590. \else
  591.   \newcommand{\datename}{Received by the editors}
  592. \fi
  593. \def\@settitle{\begin{center}%
  594.  \Large
  595.     \bfseries
  596.   \@title
  597.   \end{center}%
  598. }
  599. \def\@setauthors{%
  600.   \begingroup
  601.   \trivlist
  602.   \centering \fontsize{11}{13\p@}\selectfont\@topsep13\p@\relax
  603.   \item\relax
  604.   \andify\authors
  605.   \authors
  606.   \endtrivlist
  607.   \endgroup
  608. }
  609. \def\@setdate{\datename\ \@date\@addpunct.}
  610. \def\@setsubjclass{%
  611.   {\itshape\subjclassname.}\enspace\@subjclass\@addpunct.}
  612. \def\@setkeywords{%
  613.   {\itshape \keywordsname.}\enspace \@keywords\@addpunct.}
  614. \def\@setthanks{\def\thanks##1{\par##1\@addpunct.}\thankses}
  615. \newbox\abstractbox
  616. \newenvironment{abstract}{%
  617.   \ifx\maketitle\relax
  618.     \ClassWarning{\@classname}{Abstract should precede
  619.       \protect\maketitle\space in AMS documentclasses; reported}%
  620.   \fi
  621.   \global\setbox\abstractbox=\vtop \bgroup
  622.   \normalfont\Small
  623.   \Small
  624.   \list{}{\labelwidth\z@
  625.     \leftmargin3pc \rightmargin\leftmargin
  626.     \listparindent\normalparindent \itemindent\z@
  627.     \parsep\z@ \@plus\p@
  628.     \let\fullwidthdisplay\relax
  629.     }%
  630.   \item[\hskip\labelsep\scshape\abstractname.]%
  631. }{%
  632.   \endlist\egroup
  633.   \ifx\@setabstract\relax \@setabstracta \fi
  634. }
  635. \def\@setabstract{\@setabstracta \global\let\@setabstract\relax}
  636. \def\@setabstracta{%
  637.   \ifvoid\abstractbox
  638.   \else
  639.     \skip@20\p@ \advance\skip@-\lastskip
  640.     \advance\skip@-\baselineskip \vskip\skip@
  641.     \box\abstractbox
  642.     \prevdepth\z@ % because \abstractbox is a vtop
  643.   \fi
  644. }
  645. \def\titlepage{%
  646.   \clearpage
  647.   \thispagestyle{empty}\setcounter{page}{0}}
  648. \def\endtitlepage{\newpage}
  649. \def\labelenumi{\theenumi.}
  650. \def\theenumi{\@arabic\c@enumi}
  651. \def\labelenumii{(\theenumii)}
  652. \def\theenumii{\@alph\c@enumii}
  653. \def\p@enumii{\theenumi}
  654. \def\labelenumiii{(\theenumiii)}
  655. \def\theenumiii{\@roman\c@enumiii}
  656. \def\p@enumiii{\theenumi(\theenumii)}
  657. \def\labelenumiv{(\theenumiv)}
  658. \def\theenumiv{\@Alph\c@enumiv}
  659. \def\p@enumiv{\p@enumiii\theenumiii}
  660. \def\labelitemi{$\m@th\bullet$}
  661. \def\labelitemii{\bfseries --}% \upshape already done by \itemize
  662. \def\labelitemiii{$\m@th\ast$}
  663. \def\labelitemiv{$\m@th\cdot$}
  664. \newenvironment{verse}{\let\\\@centercr
  665.   \list{}{\itemsep\z@ \itemindent -1.5em\listparindent\itemindent
  666.   \rightmargin\leftmargin \advance\leftmargin 1.5em}\item[]%
  667. }{%
  668.   \endlist
  669. }
  670. \let\endverse=\endlist % for efficiency
  671. \newenvironment{quotation}{\list{}{%
  672.     \leftmargin3pc \listparindent\normalparindent
  673.     \itemindent\z@
  674.     \rightmargin\leftmargin \parsep\z@ \@plus\p@}%
  675.   \item[]%
  676. }{%
  677.   \endlist
  678. }
  679. \let\endquotation=\endlist % for efficiency
  680. \newenvironment{quote}{%
  681.   \list{}{\rightmargin\leftmargin}\item[]%
  682. }{%
  683.   \endlist
  684. }
  685. \let\endquote=\endlist % for efficiency
  686. \def\trivlist{\parsep\parskip\@nmbrlistfalse
  687.   \@trivlist \labelwidth\z@ \leftmargin\z@
  688.   \itemindent\z@
  689.   \let\@itemlabel\@empty
  690.   \def\makelabel##1{\upshape##1}}
  691. \renewenvironment{enumerate}{%
  692.   \ifnum \@enumdepth >3 \@toodeep\else
  693.       \advance\@enumdepth \@ne
  694.       \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
  695.       {\csname label\@enumctr\endcsname}{\usecounter
  696.         {\@enumctr}\def\makelabel##1{\hss\llap{\upshape##1}}}\fi
  697. }{%
  698.   \endlist
  699. }
  700. \let\endenumerate=\endlist % for efficiency
  701. \renewenvironment{itemize}{%
  702.   \ifnum\@itemdepth>3 \@toodeep
  703.   \else \advance\@itemdepth\@ne
  704.     \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  705.     \list{\csname\@itemitem\endcsname}%
  706.       {\def\makelabel##1{\hss\llap{\upshape##1}}}%
  707.   \fi
  708. }{%
  709.   \endlist
  710. }
  711. \let\enditemize=\endlist % for efficiency
  712. \newcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1:}
  713. \newenvironment{description}{\list{}{%
  714.   \advance\leftmargini6\p@ \itemindent-12\p@
  715.   \labelwidth\z@ \let\makelabel\descriptionlabel}%
  716. }{
  717.   \endlist
  718. }
  719. \let\enddescription=\endlist % for efficiency
  720. \let\upn=\textup
  721. \AtBeginDocument{%
  722.   \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
  723.   \advance\leftmargini by \normalparindent
  724.   \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
  725.   \advance\leftmarginii by 15pt
  726.   \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
  727.   \advance\leftmarginiii by 12pt
  728.   \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
  729.   \advance\leftmarginiv by 10pt
  730.   \leftmarginv=10pt
  731.   \leftmarginvi=10pt
  732.   \leftmargin=\leftmargini
  733.   \labelsep=5pt
  734.   \labelwidth=\leftmargini \advance\labelwidth-\labelsep
  735.   \@listi}
  736. \newskip\listisep
  737. \listisep\smallskipamount
  738. \def\@listI{\leftmargin\leftmargini \parsep\z@skip
  739.   \topsep\listisep \itemsep\z@skip
  740.   \listparindent\normalparindent}
  741. \let\@listi\@listI
  742. \def\@listii{\leftmargin\leftmarginii
  743.   \labelwidth\leftmarginii \advance\labelwidth-\labelsep
  744.   \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\z@skip}
  745. \def\@listiii{\leftmargin\leftmarginiii
  746.   \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
  747. \def\@listiv{\leftmargin\leftmarginiv
  748.   \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
  749. \def\@listv{\leftmargin\leftmarginv
  750.   \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
  751. \def\@listvi{\leftmargin\leftmarginvi
  752.   \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
  753. \def\@startsection#1#2#3#4#5#6{%
  754.  \if@noskipsec \leavevmode \fi
  755.  \par \@tempskipa #4\relax
  756.  \@afterindenttrue
  757.  \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
  758.  \if@nobreak \everypar{}\else
  759.      \addpenalty\@secpenalty\addvspace\@tempskipa\fi
  760.  \@ifstar{\@dblarg{\@sect{#1}{\@m}{#3}{#4}{#5}{#6}}}%
  761.          {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
  762. }
  763. \def\@sect#1#2#3#4#5#6[#7]#8{%
  764.   \edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}%
  765.   \ifnum #2>\c@secnumdepth \let\@secnumber\@empty
  766.   \else \@xp\let\@xp\@secnumber\csname the#1\endcsname\fi
  767.  \ifnum #2>\c@secnumdepth
  768.    \let\@svsec\@empty
  769.  \else
  770.     \refstepcounter{#1}%
  771.     \edef\@svsec{\ifnum#2<\@m
  772.        \@ifundefined{#1name}{}{%
  773.          \ignorespaces\csname #1name\endcsname\space}\fi
  774.        \@nx\textup{%
  775.          \csname the#1\endcsname.}\enspace
  776.     }%
  777.   \fi
  778.   \@tempskipa #5\relax
  779.   \ifdim \@tempskipa>\z@ % then this is not a run-in section heading
  780.     \begingroup #6\relax
  781.     \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M #8\par}%
  782.     \endgroup
  783.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  784.   \else
  785.   \def\@svsechd{#6\hskip #3\@svsec
  786.     \@ifnotempty{#8}{\ignorespaces#8\unskip
  787.        \@addpunct.}%
  788.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  789.   }%
  790.   \fi
  791.   \global\@nobreaktrue
  792.   \@xsect{#5}}
  793. \let\@ssect\relax
  794. \newcounter{part}
  795. \newcounter{section}
  796. \newcounter{subsection}[section]
  797. \newcounter{subsubsection}[subsection]
  798. \newcounter{paragraph}[subsubsection]
  799. \renewcommand\thepart          {\arabic{part}}
  800. \renewcommand\thesection       {\arabic{section}}
  801. \renewcommand\thesubsection    {\thesection.\arabic{subsection}}
  802. \renewcommand\thesubsubsection {\thesubsection .\arabic{subsubsection}}
  803. \renewcommand\theparagraph     {\thesubsubsection.\arabic{paragraph}}
  804. \setcounter{secnumdepth}{3}
  805. \def\partname{Part}
  806. \def\part{\@startsection{part}{0}%
  807.   \z@{\linespacing\@plus\linespacing}{.5\linespacing}%
  808.   {\normalfont\bfseries\raggedright}}
  809. \def\specialsection{\@startsection{section}{1}%
  810.   \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
  811.   {\large\scshape\centering}}
  812. \def\section{\@startsection{section}{1}%
  813.   \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
  814.   {\normalfont\bfseries\centering}}
  815. \def\subsection{\@startsection{subsection}{2}%
  816.   \normalparindent{.5\linespacing\@plus.7\linespacing}{-.5em}%
  817.   {\normalfont\bfseries}}
  818. \def\subsubsection{\@startsection{subsubsection}{3}%
  819.   \normalparindent\z@{-.5em}%
  820.   {\normalfont\itshape}}
  821. \def\paragraph{\@startsection{paragraph}{4}%
  822.   \normalparindent\z@{-\fontdimen2\font}%
  823.   \normalfont}
  824. \def\subparagraph{\@startsection{subparagraph}{5}%
  825.   \z@\z@{-\fontdimen2\font}%
  826.   \normalfont}
  827. \def\appendix{\par\c@section\z@ \c@subsection\z@
  828.    \let\sectionname\appendixname
  829.    \def\thesection{\@Alph\c@section}}
  830. \def\appendixname{Appendix}
  831. \def\@Roman#1{\@xp\@slowromancap
  832.   \romannumeral#1@}%
  833. \def\@slowromancap#1{\ifx @#1% then terminate
  834.   \else
  835.     \if i#1I\else\if v#1V\else\if x#1X\else\if l#1L\else\if
  836.     c#1C\else\if m#1M\else#1\fi\fi\fi\fi\fi\fi
  837.     \@xp\@slowromancap
  838.   \fi
  839. }
  840. \def\aufm#1{\par\vspace*{12pt}{\flushright #1\par}}
  841. \newcommand{\@pnumwidth}{1.6em}
  842. \newcommand{\@tocrmarg}{2.6em}
  843. \setcounter{tocdepth}{1}
  844. \def\@starttoc#1#2{\begingroup
  845.   \par\removelastskip\vskip\z@skip
  846.   \@startsection{}\@M\z@{\linespacing\@plus\linespacing}%
  847.     {.5\linespacing}{\centering\scshape}{#2}%
  848.   \ifx\contentsname#2%
  849.   \else \addcontentsline{toc}{section}{#2}\fi
  850.   \makeatletter
  851.   \@input{\jobname.#1}%
  852.   \if@filesw
  853.     \@xp\newwrite\csname tf@#1\endcsname
  854.     \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
  855.   \fi
  856.   \global\@nobreakfalse \endgroup
  857.   \addvspace{32\p@\@plus14\p@}%
  858.   \let\tableofcontents\relax
  859. }
  860. \def\contentsname{Contents}
  861. \def\listfigurename{List of Figures}
  862. \def\listtablename{List of Tables}
  863. \def\tableofcontents{\@starttoc{toc}\contentsname}
  864. \def\listoffigures{\@starttoc{lof}\listfigurename}
  865. \def\listoftables{\@starttoc{lot}\listtablename}
  866. \AtBeginDocument{%
  867.   \@for\@tempa:=-1,0,1,2,3\do{%
  868.     \@ifundefined{r@tocindent\@tempa}{%
  869.       \@xp\gdef\csname r@tocindent\@tempa\endcsname{0pt}}{}%
  870.   }%
  871. }
  872. \def\@writetocindents{%
  873.   \begingroup
  874.   \@for\@tempa:=-1,0,1,2,3\do{%
  875.     \immediate\write\@auxout{%
  876.       \string\newlabel{tocindent\@tempa}{%
  877.         \csname r@tocindent\@tempa\endcsname}}%
  878.   }%
  879.   \endgroup}
  880. \AtEndDocument{\@writetocindents}
  881.  
  882. \let\indentlabel\@empty
  883. \def\@tochangmeasure#1{\sbox\z@{#1}%
  884.   \ifdim\wd\z@>\csname r@tocindent\@toclevel\endcsname\relax
  885.     \@xp\xdef\csname r@tocindent\@toclevel\endcsname{\the\wd\z@}%
  886.   \fi
  887. }
  888. \def\@toclevel{0}
  889. \def\@tocline#1#2#3#4#5#6#7{\relax
  890.   \ifnum #1>\c@tocdepth % then omit
  891.   \else
  892.     \par \addpenalty\@secpenalty\addvspace{#2}%
  893.     \begingroup \hyphenpenalty\@M
  894.     \@ifempty{#4}{%
  895.       \@tempdima\csname r@tocindent\number#1\endcsname\relax
  896.     }{%
  897.       \@tempdima#4\relax
  898.     }%
  899.     \parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax
  900.     \rightskip\@pnumwidth plus1em \parfillskip-\@pnumwidth
  901.     #5\leavevmode\hskip-\@tempdima #6\relax
  902.     \hfil\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
  903.     \nobreak
  904.     \endgroup
  905.   \fi}
  906. \def\@tocpagenum#1{\hss{\mdseries #1}}
  907. \def\@tocwrite#1{\@xp\@tocwriteb\csname toc#1\endcsname{#1}}
  908. \def\@tocwriteb#1#2#3{%
  909.   \begingroup
  910.     \def\@tocline##1##2##3##4##5##6{%
  911.       \ifnum##1>\c@tocdepth
  912.       \else \sbox\z@{##5\let\indentlabel\@tochangmeasure##6}\fi}%
  913.     \csname l@#2\endcsname{#1{\csname#2name\endcsname}{\@secnumber}{}}%
  914.   \endgroup
  915.   \addcontentsline{toc}{#2}%
  916.     {\protect#1{\csname#2name\endcsname}{\@secnumber}{#3}}}
  917. \def\l@section{\@tocline{1}{0pt}{1pc}{}{}}
  918. \newcommand{\tocsection}[3]{%
  919.   \indentlabel{\@ifnotempty{#2}{\ignorespaces#1 #2.\quad}}#3}
  920. \def\l@subsection{\@tocline{2}{0pt}{1pc}{5pc}{}}
  921. \let\tocsubsection\tocsection
  922. \def\l@subsubsection{\@tocline{3}{0pt}{1pc}{7pc}{}}
  923. \let\tocsubsubsection\tocsection
  924. \def\l@part{\@tocline{-1}{12pt plus2pt}{0pt}{}{\bfseries}}
  925. \let\tocpart\tocsection
  926. \def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{}}
  927. \let\tocchapter\tocsection
  928. \let\tocappendix\tocchapter
  929. \def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{}{}}
  930. \let\l@table=\l@figure
  931. \def\refname{References}
  932. \def\bibname{Bibliography}
  933. \def\bibliographystyle#1{%
  934.    \if@filesw\immediate\write\@auxout
  935.     {\string\bibstyle{#1}}\fi
  936.         \def\@tempa{#1}%
  937.         \def\@tempb{amsplain}%
  938.         \def\@tempc{}%
  939.         \ifx\@tempa\@tempb
  940.                 \def\@biblabel##1{##1.}%
  941.                 \def\bibsetup{}%
  942.         \else
  943.                 \def\bibsetup{\labelsep6\p@}%
  944.         \ifx\@tempa\@tempc
  945.                 \def\@biblabel##1{}%
  946.                 \def\bibsetup{\labelwidth\z@ \leftmargin24\p@
  947.                 \itemindent-24\p@
  948.                           \labelsep\z@ }%
  949.         \fi
  950. \fi}
  951. \newenvironment{thebibliography}[1]{%
  952.   \@xp\section\@xp*\@xp{\refname}%
  953.   \normalfont\footnotesize\labelsep .5em\relax
  954.   \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
  955.   \list{\@biblabel{\theenumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
  956.     \leftmargin\labelwidth \advance\leftmargin\labelsep
  957.     \usecounter{enumiv}}%
  958.   \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
  959.   \sfcode`\.=\@m
  960. }{%
  961.   \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
  962.   \endlist
  963. }
  964. \def\bysame{\leavevmode\hbox to3em{\hrulefill}\thinspace}
  965. \def\newblock{}
  966. \newcommand\MR[1]{\relax\ifhmode\unskip\spacefactor3000 \space\fi
  967.   \def\@tempa##1:##2:##3\@nil{%
  968.     \ifx @##2\@empty##1\else\textbf{##1:}##2\fi}%
  969.   \MRhref{#1}{MR \@tempa#1:@:\@nil}}
  970. \newcommand\URL{\begingroup
  971.   \def\@sverb##1{%
  972.     \def\@tempa####1##1{\@URL{####1}\egroup\endgroup}%
  973.     \@tempa}%
  974.   \verb}
  975. \let\URLhref\@gobble
  976. \def\@URL#1{\URLhref{#1}#1}
  977. \newif\if@restonecol
  978. \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
  979.   \columnseprule\z@ \columnsep 35\p@
  980.   \twocolumn[\@xp\section\@xp*\@xp{\indexname}]%
  981.   \thispagestyle{plain}%
  982.   \let\item\@idxitem
  983.   \parindent\z@  \parskip\z@\@plus.3\p@\relax
  984.   \footnotesize}
  985. \def\indexname{Index}
  986. \def\@idxitem{\par\hangindent 2em}
  987. \def\subitem{\par\hangindent 2em\hspace*{1em}}
  988. \def\subsubitem{\par\hangindent 3em\hspace*{2em}}
  989. \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
  990. \def\indexspace{\par\bigskip}
  991. \def\footnoterule{\kern-.4\p@
  992.         \hrule\@width 5pc\kern11\p@\kern-\footnotesep}
  993. \def\@makefnmark{\hbox{$\m@th^{\@thefnmark}$}}
  994. \def\@makefntext{\indent\@makefnmark}
  995. \long\def\@footnotetext#1{\insert\footins{%
  996.   \normalfont\footnotesize
  997.   \interlinepenalty\interfootnotelinepenalty
  998.   \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
  999.   \floatingpenalty\@MM \hsize\columnwidth
  1000.   \@parboxrestore \parindent\normalparindent \sloppy
  1001.   \edef\@currentlabel{\p@footnote\@thefnmark}%
  1002.   \@makefntext{\rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}}
  1003. \hfuzz=1pt \vfuzz=\hfuzz
  1004. \def\sloppy{\tolerance9999 \emergencystretch 3em\relax}
  1005. \setcounter{topnumber}{4}
  1006. \setcounter{bottomnumber}{4}
  1007. \setcounter{totalnumber}{4}
  1008. \setcounter{dbltopnumber}{4}
  1009. \renewcommand{\topfraction}{.97}
  1010. \renewcommand{\bottomfraction}{.97}
  1011. \renewcommand{\textfraction}{.03}
  1012. \renewcommand{\floatpagefraction}{.9}
  1013. \renewcommand{\dbltopfraction}{.97}
  1014. \renewcommand{\dblfloatpagefraction}{.9}
  1015. \setlength{\floatsep}{12pt plus 6pt minus 4pt}
  1016. \setlength{\textfloatsep}{15pt plus 8pt minus 5pt}
  1017. \setlength{\intextsep}{12pt plus 6pt minus 4pt}
  1018. \setlength{\dblfloatsep}{12pt plus 6pt minus 4pt}
  1019. \setlength{\dbltextfloatsep}{15pt plus 8pt minus 5pt}
  1020. \setlength{\@fptop}{0pt}% removed ``plus 1fil''
  1021. \setlength{\@fpsep}{8pt}% removed ``plus 2fil''
  1022. \setlength{\@fpbot}{0pt plus 1fil}
  1023. \setlength{\@dblfptop}{0pt}% removed ``plus 1fil''
  1024. \setlength{\@dblfpsep}{8pt}% removed ``plus 2fil''
  1025. \setlength{\@dblfpbot}{0pt plus 1fil}
  1026. \newcommand{\fps@figure}{tbp}
  1027. \newcommand{\fps@table}{tbp}
  1028. \newcounter{figure}
  1029. \def\@captionheadfont{\scshape}
  1030. \def\@captionfont{\normalfont}
  1031. \def\ftype@figure{1}
  1032. \def\ext@figure{lof}
  1033. \def\fnum@figure{\figurename\ \thefigure}
  1034. \def\figurename{Figure}
  1035. \newenvironment{figure}{%
  1036.   \@float{figure}%
  1037. }{%
  1038.   \end@float
  1039. }
  1040. \newcounter{table}
  1041. \def\ftype@table{2}
  1042. \def\ext@table{lot}
  1043. \def\fnum@table{\tablename\ \thetable}
  1044. \def\tablename{Table}
  1045. \newenvironment{table}{%
  1046.   \@float{table}%
  1047. }{%
  1048.   \end@float
  1049. }
  1050. \def\@floatboxreset{\global\@minipagefalse \centering}
  1051. \long\def\@makecaption#1#2{%
  1052.   \setbox\@tempboxa\vbox{\color@setgroup
  1053.     \advance\hsize-2\captionindent\noindent
  1054.     \@captionfont\@captionheadfont#1\@xp\@ifnotempty\@xp
  1055.         {\@cdr#2\@nil}{.\@captionfont\upshape\enspace#2}%
  1056.     \unskip\kern-2\captionindent\par
  1057.     \global\setbox\@ne\lastbox\color@endgroup}%
  1058.   \ifhbox\@ne % the normal case
  1059.     \setbox\@ne\hbox{\unhbox\@ne\unskip\unskip\unpenalty\unkern}%
  1060.   \fi
  1061.   \ifdim\wd\@tempboxa=\z@ % this means caption will fit on one line
  1062.     \setbox\@ne\hbox to\columnwidth{\hss\kern-2\captionindent\box\@ne\hss}%
  1063.   \else % tempboxa contained more than one line
  1064.     \setbox\@ne\vbox{\unvbox\@tempboxa\parskip\z@skip
  1065.         \noindent\unhbox\@ne\advance\hsize-2\captionindent\par}%
  1066. \fi
  1067.   \ifnum\@tempcnta<64 % if the float IS a figure...
  1068.     \addvspace\abovecaptionskip
  1069.     \moveright\captionindent\box\@ne
  1070.   \else % if the float IS NOT a figure...
  1071.     \moveright\captionindent\box\@ne
  1072.     \nobreak
  1073.     \vskip\belowcaptionskip
  1074.   \fi
  1075. \relax
  1076. }
  1077. \newskip\abovecaptionskip \abovecaptionskip=12pt \relax
  1078. \newskip\belowcaptionskip \belowcaptionskip=12pt \relax
  1079. \newdimen\captionindent \captionindent=3pc
  1080. \RequirePackage{amsthm}[1996/09/24]
  1081. \def\@swapped#1#2{#2%
  1082.   \@ifnotempty{#1}{\@addpunct{.}\quad#1\unskip}}
  1083. \def\thmhead@plain#1#2#3{%
  1084.   \thmname{#1}\thmnumber{\@ifnotempty{#1}{ }\@upn{#2}}%
  1085.   \thmnote{ \textmd{\upshape(#3)}}}
  1086. \def\swappedhead@plain#1#2#3{%
  1087.   \thmnumber{\@upn{#2}}\thmname{\@ifnotempty{#2}{. }#1}%
  1088.   \thmnote{ \textmd{\upshape(#3)}}}
  1089. \def\th@plain{%
  1090.   \let\thm@indent\indent
  1091.   \thm@headfont{\scshape}% heading font small caps
  1092.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1093.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1094.                                     \@minus.2\baselineskip
  1095.   \thm@postskip\thm@preskip
  1096.   \itshape
  1097. }
  1098. \def\th@definition{%
  1099.   \let\thm@indent\indent
  1100.   \thm@headfont{\scshape}% heading font small caps
  1101.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1102.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1103.                                     \@minus.2\baselineskip
  1104.   \thm@postskip\thm@preskip
  1105.   \upshape
  1106. }
  1107. \def\th@remark{%
  1108.   \let\thm@indent\indent
  1109.   \thm@headfont{\scshape}% heading font small caps
  1110.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1111.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1112.                                     \@minus.2\baselineskip
  1113.   \thm@postskip\thm@preskip
  1114.   \upshape
  1115. }
  1116. \renewenvironment{proof}[1][\proofname]{\par \normalfont
  1117.   \topsep6\p@\@plus6\p@ \trivlist \itemindent\normalparindent
  1118.   \item[\hskip\labelsep\scshape
  1119.     #1\@addpunct{.}]\ignorespaces
  1120. }{%
  1121.   \qed\endtrivlist
  1122. }
  1123. \if@compatibility
  1124. \let\@newpf\proof \let\proof\relax \let\endproof\relax
  1125. \newenvironment{pf}{\@newpf[\proofname]}{\qed\endtrivlist}
  1126. \newenvironment{pf*}[1]{\@newpf[#1]}{\qed\endtrivlist}
  1127. \fi
  1128. \def\nonbreakingspace{\unskip\nobreak\ \ignorespaces}
  1129. \def~{\protect\nonbreakingspace}
  1130. \def\@biblabel#1{\@ifnotempty{#1}{[#1]}}
  1131. \def\@cite#1#2{{%
  1132.  \m@th\upshape\mdseries[{\bfseries #1}{\if@tempswa, #2\fi}]}}
  1133. \@ifundefined{cite }{%
  1134.   \expandafter\let\csname cite \endcsname\cite
  1135.   \edef\cite{\@nx\protect\@xp\@nx\csname cite \endcsname}%
  1136. }{}
  1137. \def\fullwidthdisplay{\displayindent\z@ \displaywidth\columnwidth}
  1138. \edef\@tempa{\noexpand\fullwidthdisplay\the\everydisplay}
  1139. \everydisplay\expandafter{\@tempa}
  1140. \newcommand\seename{see also}%
  1141. \newcommand\see[2]{{\em \seename\/} #1}%
  1142. \newcommand\printindex{\@input{\jobname.ind}}%
  1143. \DeclareRobustCommand\textprime{\leavevmode
  1144.   \raise.8ex\hbox{\check@mathfonts\the\scriptfont2 \char48 }}
  1145. \hyphenation{acad-e-my acad-e-mies af-ter-thought anom-aly anom-alies
  1146. an-ti-deriv-a-tive an-tin-o-my an-tin-o-mies apoth-e-o-ses
  1147. apoth-e-o-sis ap-pen-dix ar-che-typ-al as-sign-a-ble as-sist-ant-ship
  1148. as-ymp-tot-ic asyn-chro-nous at-trib-uted at-trib-ut-able bank-rupt
  1149. bank-rupt-cy bi-dif-fer-en-tial blue-print busier busiest
  1150. cat-a-stroph-ic cat-a-stroph-i-cally con-gress cross-hatched data-base
  1151. de-fin-i-tive de-riv-a-tive dis-trib-ute dri-ver dri-vers eco-nom-ics
  1152. econ-o-mist elit-ist equi-vari-ant ex-quis-ite ex-tra-or-di-nary
  1153. flow-chart for-mi-da-ble forth-right friv-o-lous ge-o-des-ic
  1154. ge-o-det-ic geo-met-ric griev-ance griev-ous griev-ous-ly
  1155. hexa-dec-i-mal ho-lo-no-my ho-mo-thetic ideals idio-syn-crasy
  1156. in-fin-ite-ly in-fin-i-tes-i-mal ir-rev-o-ca-ble key-stroke
  1157. lam-en-ta-ble light-weight mal-a-prop-ism man-u-script mar-gin-al
  1158. meta-bol-ic me-tab-o-lism meta-lan-guage me-trop-o-lis
  1159. met-ro-pol-i-tan mi-nut-est mol-e-cule mono-chrome mono-pole
  1160. mo-nop-oly mono-spline mo-not-o-nous mul-ti-fac-eted mul-ti-plic-able
  1161. non-euclid-ean non-iso-mor-phic non-smooth par-a-digm par-a-bol-ic
  1162. pa-rab-o-loid pa-ram-e-trize para-mount pen-ta-gon phe-nom-e-non
  1163. post-script pre-am-ble pro-ce-dur-al pro-hib-i-tive pro-hib-i-tive-ly
  1164. pseu-do-dif-fer-en-tial pseu-do-fi-nite pseu-do-nym qua-drat-ic
  1165. quad-ra-ture qua-si-smooth qua-si-sta-tion-ary qua-si-tri-an-gu-lar
  1166. quin-tes-sence quin-tes-sen-tial re-arrange-ment rec-tan-gle
  1167. ret-ri-bu-tion retro-fit retro-fit-ted right-eous right-eous-ness
  1168. ro-bot ro-bot-ics sched-ul-ing se-mes-ter semi-def-i-nite
  1169. semi-ho-mo-thet-ic set-up se-vere-ly side-step sov-er-eign spe-cious
  1170. spher-oid spher-oid-al star-tling star-tling-ly sta-tis-tics
  1171. sto-chas-tic straight-est strange-ness strat-a-gem strong-hold
  1172. sum-ma-ble symp-to-matic syn-chro-nous topo-graph-i-cal tra-vers-a-ble
  1173. tra-ver-sal tra-ver-sals treach-ery turn-around un-at-tached
  1174. un-err-ing-ly white-space wide-spread wing-spread wretch-ed
  1175. wretch-ed-ly Eng-lish Euler-ian Feb-ru-ary Gauss-ian
  1176. Hamil-ton-ian Her-mit-ian Jan-u-ary Japan-ese Kor-te-weg
  1177. Le-gendre Mar-kov-ian Noe-ther-ian No-vem-ber Rie-mann-ian Sep-tem-ber}
  1178. \def\calclayout{\advance\textheight -\headheight
  1179.   \advance\textheight -\headsep
  1180.   \oddsidemargin\paperwidth
  1181.   \advance\oddsidemargin -\textwidth
  1182.   \divide\oddsidemargin\tw@
  1183.   \ifdim\oddsidemargin<.5truein \oddsidemargin.5truein \fi
  1184.   \advance\oddsidemargin -1truein
  1185.   \evensidemargin\oddsidemargin
  1186.   \topmargin\paperheight \advance\topmargin -\textheight
  1187.   \advance\topmargin -\headheight \advance\topmargin -\headsep
  1188.   \divide\topmargin\tw@
  1189.   \ifdim\topmargin<.5truein \topmargin.5truein \fi
  1190.   \advance\topmargin -1truein\relax
  1191. }
  1192. \calclayout % initialize
  1193. \pagenumbering{arabic}
  1194. \pagestyle{headings}
  1195. \thispagestyle{plain}
  1196. \if@compatibility \else\endinput\fi
  1197. \def\tiny{\Tiny}
  1198. \def\defaultfont{\normalfont}
  1199. \def\rom{\textup}
  1200. \endinput
  1201. %% 
  1202. %% End of file `amsproc.cls'.
  1203.